package com.xmg.boot.demo.bootlesson1.user.mapper.dm;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xmg.boot.demo.bootlesson1.user.entity.dm.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 员工表 Mapper 接口
 * </p>
 *
 * @author 微信搜一搜：贺贺学编程
 * @since 2023-11-29
 */
@Mapper
@Component
public interface EmployeeMapper extends BaseMapper<Employee> {
    //直接用mapper测试，没有方法实现
    @DS("db_dm8")
    public Employee findOne();
}
